package com.gym.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("course")
public class Course{

    //课程
    @TableId(value = "course_id",type = IdType.AUTO)
    private Integer courseId;
    @TableField("course_name")
    private String courseName;
    @TableField("coach_id")
    private Integer coachId;
    @TableField("course_hour")
    private Integer courseHour;
    @TableField("course_function")
    private String courseFunction;
    @TableField("coursesort_id")
    private Integer coursesortId;
    @TableField("course_img")
    private String courseImg;
    @TableField("course_price")
    private Double coursePrice;
    @TableField("course_text")
    private String courseText;

}
